﻿using GDM.Hogar.Controles.Properties;
using System;
using System.ComponentModel;

namespace GDM.Hogar.Controles.Validador.Diseño
{
    [AttributeUsage(AttributeTargets.All)]
    internal sealed class PropertyCategoryAttribute : CategoryAttribute
    {
        // Methods
        public PropertyCategoryAttribute(string categoryKey)
            : base(categoryKey)
        {
        }

        protected override string GetLocalizedString(string value)
        {
            return Resources.ResourceManager.GetString(value);
        }
    }
}